
import random


FOOD = "food"
LUMBER = "lumber"
MINERALS = "minerals"
ALL_GOODS = set([FOOD, LUMBER, MINERALS])


class Town:
    """
    A class that represents towns
    Limited functionality atm
    """
    def __init__(self):
        self.merchants = set()
        self.prices = {}
        for good in ALL_GOODS:
            self.prices[good] = 50
    
    def randomize_prices(self):
        for good in ALL_GOODS:
            self.prices[good] = random.randint(1, 100)
    